const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer:{
    port: 8889,
    // client: {
    //   webSocketURL: 'ws://192.168.1.102:8080/ws',
    // },
    open:true,
    proxy:{
      '/api': {
        // 47.93.124.175 公网ip
        //localhost
        target: "http://localhost:8001",
        changeOrigin: true,
        pathRewrite:{
          '^/api':''
        }
      }
    },


  }
})
